package com.huidao.service;

import java.util.List;

import com.huidao.entity.Goods;

public interface GoodsService {
    public List<Goods> getGoodsListBySeller(long userId,int currentPage);
	
	public int getTotalPageBySeller(long userId);
	
	public boolean addGoods(Goods goods);
	
	public boolean delGoods(long goodsId);
	
	public boolean updateGoods(Goods goods);
	
	public boolean shelvesGoods(String id,String state);
	
	public List<Goods> getGoodsList(int currentPage,String type);
	
	public int getTotalPage();
}
